/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.flf.audioteca.dao;

import br.edu.flf.audioteca.dao.exceptions.JPAException;
import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Nathan Azevedo
 */
public interface IEntidadeLeituraDAO {

    public <S extends Serializable> List<S> buscarTodos(
            final Class<S> classeDaEntidade) throws JPAException;

    public <S extends Serializable> S buscar(
            final Class<S> classeDaEntidade, final Serializable id)
            throws JPAException;
}
